package edu.friday_2025_04_27.common.base;


import edu.friday_2025_04_27.common.result.RestResult;

public class BaseController {
    protected RestResult toAjax(int rows){
        return rows > 0 ? RestResult.success() : RestResult.error();
    }
}
